/********************************************************************************
TITLE:                      	Using Virtual Functions
FILENAME:                   	time.h
PREPARED FOR:               	CS215 Section CS13-02
PROGRAMMER(S):              	Eric (Fox) Crowell, (Tim, add full name here)
DEVELOPMENT DATE:           	< 12/15/13 >
COMPILER USED:      			Microsoft Visual Studio Professional 2013
                                     - Version 12.0.21005.1 REL
TARGET PLATFORM:         	    Windows 8 x64
================================================================================
REVISION HISTORY

DATE         PROGRAMMER          DESCRIPTION OF CHANGES MADE
------------------------------------------------------------------------------
<12/15/13       Fox                 Class Created.                           >

*******************************************************************************/

#ifndef TIME_H
#define TIME_H

#include <ostream>
#include <sstream>
#include <iomanip>

using namespace std;

class Time
{
	friend ostream & operator<<(ostream & Out, Time & RHS);

public:
	// Constructor with optional parameters. [Fox]
	Time(int InHours = 0, int InMinutes = 0);

	// Sets the Hours and Minutes. [Fox]
	void SetTime(int NewHours, int NewMinutes);

	// Sets the hours. [Fox]
	void SetHours(int NewHours);

	// Sets the minutes. [Fox]
	void SetMinutes(int NewMinutes);

	// Returns the hours. [Fox]
	int GetHours() const;

	// Returns the minutes. [Fox]
	int GetMinutes() const;

private:
	// Declare data members (hours and minutes). [Fox]
	int Hours, Minutes, OverHours;
};

#endif